/**
* 版权声明：厦门睿商网络科技有限公司 版权所有 违者必究
* 日    期：2020-03-25
*/
package com.rzico.basics.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * <pre>
 *   卡券流水数据库对象
 * </pre>
 * @author Rzico Boot
 * @version 1.0
 */
@Data
@JsonIgnoreProperties(value = {"handler"})
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "wx_coupon_code_glide")
public class CouponCodeGlide{

    @Id
    @ApiModelProperty(value = "" )
    protected Long id;

    @ApiModelProperty(value = "创建日期" )
    protected Date createDate;

    @ApiModelProperty(value = "修改日期" )
    protected Date modifyDate;

    @ApiModelProperty(value = "余数" )
    protected Long balance;

    @ApiModelProperty(value = "收入" )
    protected Long credit;

    @ApiModelProperty(value = "支出" )
    protected Long debit;

    @JsonIgnore
    @ApiModelProperty(value = "是否删除" ,hidden = true )
    protected Boolean deleted;

    @ApiModelProperty(value = "备注" )
    protected String memo;

    @ApiModelProperty(value = "会员" )
    protected Long memberId;

    @ApiModelProperty(value = "订单" )
    protected Long orders;

    @ApiModelProperty(value = "" )
    protected Long couponCode;

    @ApiModelProperty(value = "归属企业" )
    protected Long enterpriseId;


}
